import { IPSWFEndProcess } from './ipswfend-process';
import { PSWFProcessImpl } from './pswfprocess-impl';

export class EndPSWFProcessImpl extends PSWFProcessImpl implements IPSWFEndProcess {
  get exitStateValue(): string {
    return this.M.exitStateValue;
  }

  get terminalProcess(): boolean {
    return this.M.terminalProcess;
  }

  get cls(): string {
    return 'EndPSWFProcessImpl';
  }

  instanceof(cls: string): boolean {
    if (cls == 'wf.IPSWFEndProcess') return true;
    return super.instanceof(cls);
  }
}
